3dshow-mongo[all].yaml 770 B

12345678910111213141516171819202122232425
  1. scheduler:
  2. # run every day at 6:00 and 18:00 UTC
  3. # cron: "15 16 */1 * *"
  4. cron: "30 9 */1 * *"
  5. # number of backups to keep locally
  6. retention: 14
  7. # backup operation timeout in minutes
  8. timeout: 60
  9. target:
  10. # mongod IP or host name
  11. # host: "3dshow-mongo"
  12. host: "pack-3dshow-3dshow-mongo-1"
  13. # mongodb port
  14. port: 27017
  15. # mongodb database name, leave blank to backup all databases
  16. database: ""
  17. # leave blank if auth is not enabled
  18. username: "root"
  19. password: "3dshow"
  20. # add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed
  21. params: "--authenticationDatabase admin"
  22. # params: "--ssl --authenticationDatabase admin"
  23. # 对应数据库配置
  24. # mongodb://root:3dshow@3dshow-mongo:27017/3dshow?authSource=admin